The Amber Machine

نویسنده

  • Luca Cardelli
چکیده

The Amber machine is a stack machine designed as an intermediate language for compiling higher-order languages. The current version is specialized for the Amber language. The machine supports a set of basic and structured data types, functional closures, signals, bitmap graphics, persistent objects and meta-level execution. The latter is needed as the Amber compiler is entirely written in Amber (above the Amber machine level) and needs to switch level when executing a program it has just compiled. A set of implementation strategies are admissible for this machine, including byte-code interpretation, threaded code interpretation and compilation to native code. The current implementation is based on a byte-code interpreter and a onespace compacting collector, and runs on a Macintosh. Introduction The Amber machine is a stack machine designed as an intermediate language for compiling higher-order languages, in the tradition of SECD machines [Landin 64] and combinator machines [Turner 79] [Curien 86]. This is a revision of the Functional Abstract Machine described in [Cardelli 83, Cardelli 84], and is specialized for the Amber language [Cardelli 86]. The amount of specialization required for a particular language in the general class of higher-order algorithmic languages is marginal; it mostly involves the set of primitive data types and does not affect the basic organization of the machine. The machine supports a set of basic data types, functional closures, signals, persistent objects and meta-level execution. The latter is needed as the Amber compiler is entirely written in Amber (above the Amber machine level) and needs to switch level when executing a program it has just compiled. A set of implementation strategies are admissible for this machine, including byte-code interpretation, threaded code interpretation and compilation to native code. The current implementation is based on a byte-code interpreter and a onespace compacting collector, while the similar Functional Abstract Machine for the 1Current addresss: DEC SRC, 130 Lytton Ave, Palo Alto, CA 94301.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

AMBER: A Modified BLEU, Enhanced Ranking Metric

This paper proposes a new automatic machine translation evaluation metric: AMBER, which is based on the metric BLEU but incorporates recall, extra penalties, and some text processing variants. There is very little linguistic information in AMBER. We evaluate its system-level correlation and sentence-level consistency scores with human rankings from the WMT shared evaluation task; AMBER achieves...

متن کامل

Improving AMBER, an MT Evaluation Metric

A recent paper described a new machine translation evaluation metric, AMBER. This paper describes two changes to AMBER. The first one is incorporation of a new ordering penalty; the second one is the use of the downhill simplex algorithm to tune the weights for the components of AMBER. We tested the impact of the two changes, using data from the WMT metrics task. Each of the changes by itself i...

متن کامل

CHAMBER: Comprehensive Support for CHARMM Force Fields Within the AMBER Software

The similarity of the AMBER force field’s energy functional form with that of the CHARMM force field, gives the potential for direct translation of common bonding and nonbonding terms, along with their parameters, present in CHARMM topology and parameter files, with the intent of evaluation within the AMBER software; specifically the SANDER and PMEMD dynamics engines. To this extent, we have cr...

متن کامل

Blocking Short-Wavelength Component of the Visible Light Emitted by Smartphones’ Screens Improves Human Sleep Quality

Background: It has been shown that short-wavelength blue component of the visible light spectrum can alter the circadian rhythm and suppress the level of melatonin hormone. The short-wavelength light emitted by smartphones’ screens can affect the sleep quality of the people who use these devices at night through suppression of melatonin.Objectives: In this study, we examined the effects of co...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1985